package com.rerun.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * The type District.
 */
@TableName("district")
public class District extends Model<District> {

  private static final long serialVersionUID = -3374164778089966386L;
  private long serialId;
  private String districtId;
  private String districtName;
  private String districtUpId;


    /**
     * Gets serial id.
     *
     * @return the serial id
     */
    public long getSerialId() {
    return serialId;
  }

    /**
     * Sets serial id.
     *
     * @param serialId the serial id
     */
    public void setSerialId(long serialId) {
    this.serialId = serialId;
  }


    /**
     * Gets district id.
     *
     * @return the district id
     */
    public String getDistrictId() {
    return districtId;
  }

    /**
     * Sets district id.
     *
     * @param districtId the district id
     */
    public void setDistrictId(String districtId) {
    this.districtId = districtId;
  }


    /**
     * Gets district name.
     *
     * @return the district name
     */
    public String getDistrictName() {
    return districtName;
  }

    /**
     * Sets district name.
     *
     * @param districtName the district name
     */
    public void setDistrictName(String districtName) {
    this.districtName = districtName;
  }


    /**
     * Gets district up id.
     *
     * @return the district up id
     */
    public String getDistrictUpId() {
    return districtUpId;
  }

    /**
     * Sets district up id.
     *
     * @param districtUpId the district up id
     */
    public void setDistrictUpId(String districtUpId) {
    this.districtUpId = districtUpId;
  }

  @Override
  protected Serializable pkVal() {
    return this.serialId;
  }
}
